﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="SF.Ucenter.mycenterusers.index" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <link rel="stylesheet" type="text/css" href="css/index.css" media="all" />
    <script src="js/jquery.js"></script>
    <title>个人中心</title>
    <script type="text/javascript">
        //对 个人中心 部分标签赋值
        $(function () {
            $.get("/tools/centerusers_ajax.ashx", { action: "get_center_msg" }, function (res) {
                if (res.length > 0) {
                    var temp = res.split("^");
                    var datas = temp[1].split("_");
                    var bigmodel = $(".count-dis-mony");
                    $(bigmodel[0]).text(datas[0]);
                    $(bigmodel[1]).text(datas[1]);
                    $(bigmodel[2]).text(datas[2]);
                    $($("#disstroe .tip-number")[0]).text(datas[3] + "笔");
                    $($("#oneOrder .tip-number")[0]).text(datas[4] + "笔");
                    $($("#twoOrder .tip-number")[0]).text(datas[5] + "笔");
                    $($("#threeOrder .tip-number")[0]).text(datas[6] + "笔");
                    $($("#disstroe .tip-number")[1]).text("￥" + datas[0] + "元");
                    $($("#oneOrder .tip-number")[1]).text("￥" + datas[7] + "元");
                    $($("#twoOrder .tip-number")[1]).text("￥" + datas[8] + "元");
                    $($("#threeOrder .tip-number")[1]).text("￥" + datas[9] + "元");
                    $("#menu-accordian02 .tip-number").text(datas[1] + "个");
                    $("#oneUser .tip-number").text(datas[10] + "个");
                    $("#twoUser .tip-number").text(datas[11] + "个");
                    $("#threeUser .tip-number").text(datas[12] + "个");
                    $("#last .tip-number").text(datas[10]);
                    if (datas[13] == "0" || datas[13]==0) {
                        alert("您没有权限使用此功能，请联系商家进行处理！");
                        return;
                    }
                }
            });
        });
        function showUserOrder() {
            $("#disstroe-sub").toggle();
        }
        function showMyUsers() {
            $("#showuserlist").toggle();
        }
    </script>
</head>
<body class="body-gray">
    <!--mask begin-->
    <div class="mask"></div>
    <!--mask end-->
    <!--topbar begin-->
    <input id="hiddenCustomerID" value="1972" type="hidden" />

    <!--topbar begin-->
    <div class="fixed tab-bar">
        <section class="left-small">
            <a class="menu-icon" onclick="window.history.go(-1)"><span></span></a>
        </section>
        <section class="middle tab-bar-section">
            <h1 class="title">个人中心</h1>
        </section>
    </div>
    <div class="panel memberhead">

        <div class="header-l">
            <i class="icon-header">
                <asp:Image ID="imgPhonto" runat="server" ImageUrl="" /></i>
        </div>

        <div class="header-r">
            <ul class="distributor-infor">
                <li>
                    <span class="distributor-infor-label">昵称：</span>
                    <asp:Label ID="lblNickName" class="distributor-infor-c" runat="server" Text=""></asp:Label>
                </li>
                <li>
                    <span class="distributor-infor-label">账户名称：</span>
                    <asp:Label ID="lblUserNum" class="distributor-infor-c" runat="server" Text=""></asp:Label>
                </li>
                <li>
                    <span class="distributor-infor-label">关注时间：</span>
                    <asp:Label ID="lblJoinDate" class="distributor-infor-c" runat="server" Text=""></asp:Label>
                </li>
            </ul>

        </div>
    </div>
    <!--topbar end-->
    <!--head begin-->


    <!--table end-->
    <div class="tabs-content tabs-content-member">
        <!--distribution begin-->
        <div class="content active" id="panel2-1">
            <!--head end-->
            <!--count begin-->
            <div class="row count">
                <div class="small-4 columns mid">
                    <a href="javascript:void(0)" class="count-a">
                        <p class="count-dis-mony"></p>
                        <span class="count-title">销售总额</span></a>
                </div>
                <div class="small-4 columns mid">
                    <a href="javascript:void(0)" class="count-a">
                        <p class="count-dis-mony"></p>
                        <span class="count-title">我的会员</span></a>
                </div>
                <div class="small-4 columns last">
                    <a href="javascript:void(0)" class="count-a">
                        <p class="count-dis-mony"></p>
                        <span class="count-title">我的佣金</span></a>
                </div>
            </div>
            <!--count end-->

            <div class="panel member-nav">
                <ul class="side-nav">
                    <li>
                        <a href="order.aspx">
                            <i class="icon-shop"></i>
                            <span class="text">我的订单</span>
                            <i class="arrow"></i>
                        </a>
                    </li>
                    <li>
                        <a id="disstroe" href="javascript:showUserOrder()">
                            <i class="icon-lowLevel"></i>
                            <span class="text">推广订单</span><i class="arrow"></i>
                            <span class="tip-number"></span>
                            <span class="tip-number"></span>
                        </a>
                        <div id="disstroe-sub" class="member-nav-sub">
                            <ul class="member-nav-sub-ul">
                                <li id="oneOrder" class="member-nav-sub-li">
                                    <a href="javascript:void(0);">
                                        <span class="text">一级订单</span>
                                        <i class="arrow"></i>
                                        <span class="tip-number"></span>
                                        <span class="tip-number"></span>
                                    </a>
                                </li>
                                <li class="member-nav-sub-li" id="twoOrder">
                                    <a href="javascript:void(0)">
                                        <span class="text">二级订单</span>
                                        <i class="arrow"></i>
                                        <span class="tip-number"></span>
                                        <span class="tip-number"></span>
                                    </a>
                                </li>
                                <li class="member-nav-sub-li" id="threeOrder">
                                    <a href="javascript:void(0)">
                                        <span class="text">三级订单</span>
                                        <i class="arrow"></i>
                                        <span class="tip-number"></span>
                                        <span class="tip-number"></span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </li>
                    <li class="last">
                        <a id="menu-accordian02" href="javascript:showMyUsers()">
                            <i class="icon-personal"></i>
                            <span class="text">我的会员</span>
                            <i class="arrow"></i>
                            <span class="tip-number"></span>
                        </a>
                        <div id="showuserlist" class="member-nav-sub">
                            <ul class="member-nav-sub-ul">
                                <li id="oneUser" class="member-nav-sub-li">
                                    <a href="myusers.aspx?level=1">
                                        <span class="text">一级会员</span>
                                        <i class="arrow"></i>
                                        <span class="tip-number"></span>
                                    </a>
                                </li>
                                <li id="twoUser" class="member-nav-sub-li">
                                    <a href="myusers.aspx?level=2"><span class="text">二级会员</span>
                                        <i class="arrow"></i>
                                        <span class="tip-number"></span>
                                    </a>
                                </li>
                                <li id="threeUser" class="member-nav-sub-li">
                                    <a href="myusers.aspx?level=3">
                                        <span class="text">三级会员</span>
                                        <i class="arrow"></i>
                                        <span class="tip-number"></span>
                                    </a>
                                </li>
                            </ul>
                        </div>

                    </li>
                </ul>
            </div>

            <div class="panel member-nav">
                <ul class="side-nav">
                    <li id="brokerage"><a href="mywithdraw.aspx"><i class="icon-commission"></i><span class="text">我的佣金</span><i class="arrow"></i>
                    </a></li>
                    <li class="last"><a href="payway.aspx" class="a-personal"><i class="icon-account"></i><span class="text">提现账号</span><span class="status-info"></span><i class="arrow"></i></a></li>
                </ul>
            </div>
            <div id="last" class="panel member-nav">
                <ul class="side-nav">
                    <%--<li><a href="rankinglist.aspx"><i class="icon-qrcode"></i><span class="text">排行榜单</span><i class="arrow"></i></a></li>--%>
                    <li><a href="myusers.aspx?level=4"><i class="icon-friends"></i><span class="text">朋友圈推广</span><i class="arrow"></i>
                        <span class="tip-number"></span></a></li>
                    <li><a href="qrcode.aspx"><i class="icon-qrcode-propu"></i><span class="text">推广二维码</span><i class="arrow"></i></a></li>
                </ul>
            </div>
            <!--side nav end-->
            <!--bottom begin-->
        </div>
        <!--distribution end-->
        <!--dealer begin-->
        <div class="content" id="panel2-2">
        </div>
        <!--dealer end-->
    </div>
    <!--bottom end-->
    
</body>
</html>
